home *** CD-ROM | disk | FTP | other *** search
/ Chip: 2001 Haziran / CHIP Haziran2001.iso / prog / haziran / 20 / setup.exe / {app} / plugins / XQ Mouse Options 2.xpl < prev    next >
Encoding:
XSetup plugin  |  2001-03-28  |  1.4 KB  |  48 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="2"
  3. "COUNT"="2"
  4. "UIPATH"="Hardware\Mouse\General Options"
  5. "NAME"="Double Click Rectangle"
  6. "VERSION"="1.01"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Width"
  9. "TEXT 2"="Height"
  10. "DESCRIPTION 1"="You properly know how to perform a double click but did you know this:
  11. "DESCRIPTION 2"="There's an invisible rectangle limiting the area in which one may perform the second click. By default, the horizontal and vertical values are 4."
  12. "AUTHOR"="Xteq Systems"
  13. "CONTACTURL"="http://www.xteq.com"
  14. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  15. "COMMENT 1"=" "
  16. "COMMENT 2"="Tip ripped from http://www.lockergnome.com"
  17.  
  18.  
  19. sV1="HKEY_CURRENT_USER\Control Panel\Desktop\DoubleClickWidth"
  20. sV2="HKEY_CURRENT_USER\Control Panel\Desktop\DoubleClickHeight"
  21.  
  22.  
  23. 'Called when the Plugin is started
  24. SUB Plugin_Initialize
  25.  i=RegReadValue(sV1)
  26.  SetUIElement 1,i
  27.  
  28.  i=RegReadValue(sV2)
  29.  SetUIElement 2,i
  30. END SUB
  31.  
  32. 'Called when the Plugin should validate the Data the user has entered
  33. SUB Plugin_CheckData(ElementIndex)
  34. END SUB
  35.  
  36. 'Called when the Plugin should apply the changes
  37. SUB Plugin_Apply(ElementIndex,ElementSubIndex)
  38.  s=GetUIElement(1)
  39.  Call RegWriteValue(sV1,s,1)
  40.  
  41.  s=GetUIElement(2)
  42.  Call RegWriteValue(sV2,s,1)
  43. END SUB
  44.  
  45. 'Called when the Plugin is about to be removed from memory
  46. SUB Plugin_Terminate
  47. END SUB
  48.